package com.aaa.mbs.service;

import com.aaa.common.bo.Car;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @fileName:CarService
 * @description:
 * @author:zhz
 * @createTime:2020/11/21 14:56
 * @version:1.0.0
 */
@FeignClient("carService")
public interface RemoteCarService {

    /**
     * 修改数据
     *
     * @param car 实例对象
     * @return 实例对象
     */
    @PostMapping("/car/update")
    Result update(@RequestBody Car car);

}
